package cn.koala.key.entity.enums;

public enum StockInOutEnum {

    // 入库类型
    IN_NEW(1, "新车入库"),
    IN_RETURN(2, "归还入库"),

    // 出库类型

    ;

    private Integer value;

    private String name;

    StockInOutEnum(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    @Override
    public String toString() {
        return "StockInOutEnum{" +
                "value=" + value +
                ", name=" + name +
                '}';
    }

    public Integer getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
